package com.springcloud_eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * ClassName:SpringApplicationEureka
 * Package:com.springcloud_eureka
 * Description
 *
 * @Author:@wenxueshi
 * @Create:2023/2/5 - 21:20
 * @Version:v1.0
 */
@SpringBootApplication //启动后，可以访问http://localhost:7001
@EnableEurekaServer //服务端的启动类，可以接受别人注册进来
public class SpringApplicationEureka {
    public static void main(String[] args) {
        SpringApplication.run(SpringApplicationEureka.class,args);
    }
}
